package com.java.util.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class User extends BaseCollumModel{

    private Integer id;
    private String name;

    private String city;
    private Integer assetId;

    private Boolean status;

    private LocalDateTime time = LocalDateTime.now();

    public User(Integer id, String name, String city, Integer assetId, Boolean status1) {

        this.id = id;
        this.name = name;
        this.city = city;
        this.assetId = assetId;
        this.status = status1;
    }
}
